package com.yami.shop.api.tracking;


public class Test {

    static Api api = new Api("3ffa0d24-€921-4ec2-89a3-fbefa2189cd8");

    public static void main(String[] args) {
        //api.sandbox = true;
        // create tracking number
        String res = api.create("[{\"tracking_number\":\"6579375132\",\"courier_code\":\"dhl\"}]");
        System.out.println("create result " + res);
        String getResult = api.get("?tracking_numbers=6579375132");
        System.out.println(getResult);
        // get tracking number
        // String res = api.get("tracking_numbers=UB209300714LV");
        // System.out.println(res);
    }
}
